package cn.itcast.interfaces;

import cn.itcast.pojo.PageResult;
import cn.itcast.pojo.Permission;

import java.util.List;

/**
 * @author: peterChen
 * @date: 2019/8/13 12:10
 * @description: TODO
 * @version: 1.0
 */
public interface PermissionService {
    public PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    public void add(Permission permission);

    public Permission findPermissionById(Integer id);

    public void edit(Permission permission);

    public void delete(Integer id);

    public List<Permission> findAll();

}
